/*
 * Gun.fx
 *
 * Created on 13-Jan-2009, 04:56:09
 */

package trunk;

import javafx.scene.Group;
import javafx.scene.paint.Color;
import javafx.scene.Scene;
import javafx.scene.shape.Line;
import javafx.stage.Stage;
import javafx.scene.input.KeyEvent;

/**
 * @author Owner
 */
var length: Number;
var angle: Number;

Stage {
    title: "MyApp"
    scene: Scene {
        width: 600
        height: 600
        content: Group {
            content: [
                Line {
                    startX: 0,
                    startY: 600
                    endX: 100,
                    endY: 600 - 100
                    strokeWidth: 10
                    stroke: Color.BLACK
                }
            ]
            onKeyTyped: function( e: KeyEvent ):Void {

            }
        }
    }
}

